How do I make an array that adds a day (number) in a specified increment but follows the rules of a